php forum
php mysql forum
php mysql smarty
 
Topic Options
#317389 - 07/09/08 02:37 PM [7.3.x] Copy forum permissions
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 329
Loc: The Netherlands
Okay, I got sick of it. I had to copy over one forums permissions to every other forum, and thought, enough is enough. This has to be automated.

Attached is copyperm.php

Upload copyperm.php in your /admin directory and go to http://www.yourforum.com/ubb/admin/copyperm.php

Right, don't do that yet. READ THIS FIRST. And edit the file before you upload.

There's no fancy user interface here.

Php Code:
$source = 2;
$target = array(1,3,4,5,6,7,8,9,10,11,14,15,16,17,19,20,24,25,26,27,31,33,34,35,36,37);
copypermissions($source,$target); 


This is the line you are supposed to edit before uploading. It sets the source forum+targetforums. You can repeat this if you want do do more copy actions. There is also a line you are supposed to remove, that's buildi for security reasons.

So? Done editing?

Upload copyperm.php in your /admin directory and go to http://www.yourforum.com/ubb/admin/copyperm.php


Attachments
copyperm.zip (4 downloads)
Description: The coolest mod ever ;)


_________________________

Top
#317395 - 07/10/08 09:20 AM Re: [7.3.x] Copy forum permissions [Re: blaaskaak]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Thanks Yarpâ„¢ smile
_________________________
- Allen wavey
- What Drives You?

Top



Moderator:  sirdude 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks